<!DOCTYPE html>
<html>
  <head>
    <!-- Required meta tags-->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <!-- Color theme for statusbar -->
    <meta name="theme-color" content="#2196f3">
    <!-- Your app title -->
    <title>预定船说（伍家岗店）</title>
    <!-- Path to Framework7 Library CSS, Material Theme -->
    <link rel="stylesheet" href="https://www.cshxian.com/online-system/framework7/css/framework7.bundle.min.css">
    <!-- Path to your custom app styles-->
    <link rel="stylesheet" href="css/common.css">
  </head>
  <body>
    <!-- App root element -->
    <div id="app">
      <!-- Statusbar overlay -->
      <div class="statusbar"></div>

      <!-- Your main view, should have "view-main" class -->
      <div class="view view-main">
        <!-- Initial Page, "data-name" contains page name -->
        <div data-name="home" class="page">

          <!-- Top Navbar -->
		  <!--
          <div class="navbar">
            <div class="navbar-inner">
              <div class="title">预定船说（伍家岗店）</div>
            </div>
			</div>
			-->
          <!-- Toolbar -->
		  <!--
          <div class="toolbar">
            <div class="toolbar-inner">
              <a href="#" class="link">返回</a>
              <a href="#" class="link">前进</a>
            </div>
          </div>
			-->
			
			
          <!-- Scrollable page content -->
          <div class="page-content background-img" >
			
			<div class="card">
			  <div class="card-content card-content-padding" id="member-info">尊贵的会员<?php echo $name ?>,会员手机号<?php echo $phone  ?>。您好，欢迎光临船说,预定成功，桌号会在5分钟内以短信方式发送给您！</div>
			</div>
			
			<div class="block-title">您的预定记录</div>
			<div class="list media-list">
			  <ul>
			  <?php foreach($reservations as $reservation){ ?>
				<li>
				  <div class="item-content">
					<div class="item-media"><img  src="https://www.cshxian.com/attachment/images/3/2019/03/NE6Nr5Q6NxZY3jrn6Cr6ChQqR3FJnR.jpg" width="44"/></div>
					<div class="item-inner">
					  <div class="item-title-row">
						<div class="item-title">类型：<?php echo $reservation["desk"] ?></div>
					  </div>
					  <div class="item-subtitle">预定日期：<?php echo $reservation["date"] ?>  预定时间:<?php echo $reservation["time"] ?></div>
					</div>
				  </div>
				</li>
				<?php } ?>
				
			  </ul>
			</div>
			
			
			
			
			
			
          
          </div>
        </div>
      </div>
    </div>
    <!-- Path to Framework7 Library JS-->
    <script type="text/javascript" src="https://www.cshxian.com/online-system/framework7/js/framework7.bundle.min.js"></script>
	<script type="text/javascript" src="https://www.cshxian.com/online-system/framework7/jquery-3.3.1.min.js"></script>
	<!-- Path to your app js-->
    <script type="text/javascript" src="js/common.js"></script>
  </body>
</html>